297e9f6b08164bf8bacc8ef7d9decc670638c160,tests/io.sarl.lang.core.tests/src/io/sarl/lang/core/tests/core/AgentTest.java,AgentTest,assertNoSkill,#Class#,76
Before Change
private void assertNoSkill(Class<? extends Capacity> c) {
try {
this.agent.getSkill(c);
fail("Expecting the exception UnimplementedCapacityException, but got no exception."); //$NON-NLS-1$
} catch (UnimplementedCapacityException exception) {
//
After Change
private void assertNoSkill(Class<? extends Capacity> c) {
try {
try {
this.reflect.invoke(this.agent, "getSkill", c);
} catch (InvocationTargetException e) {
throw Throwables.propagate(e.getTargetException());
} catch (Exception e) {